package com.dzm.mapper;

import com.dzm.entity.Advertisement;
import com.dzm.vo.SearchVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作者：Dzm
 * 时间：2024-08-10-9:35
 * 功能：
 */
public interface AdvertisementMapper {
    List<Advertisement> search(SearchVO searchVO);

    void addAdvertisement(Advertisement advertisement);

    void updateAdvertisement(Advertisement advertisement);

    Advertisement getById(@Param("id") Integer id);

    void deleteByIds(@Param("ids") String ids);
}
